package com.cloud.easy.im.container;

import com.cloud.easy.im.event.ServerEventListener;
import io.netty.channel.Channel;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

/**
 * @author wangjian
 * @version 0.1.0
 * @create 2020年09月07日2:42 下午
 */
public class DefaultOnlineMap implements OnlineMap {

    private final ConcurrentHashMap onlineMaps;

    @Override
    public void put(Integer productCode, String userId, Channel value) {

    }

    @Override
    public ConcurrentMap<String, Channel> get(Integer productCode) {
        return null;
    }

    public DefaultOnlineMap(ConcurrentHashMap onlineMaps) {
        this.onlineMaps = onlineMaps;
    }

    @Override
    public Channel get(String key, Integer productCode) {
        return null;
    }

    @Override
    public void put(String key, Channel value) {

    }

    @Override
    public void check() {

    }


    @Override
    public boolean containsKey(String key, Integer productCode) {
        return false;
    }

    @Override
    public long size() {
        return 0;
    }

    @Override
    public void remove(String key, Integer productCode) {

    }

    @Override
    public void setServerEventListener(ServerEventListener serverEventListener) {

    }
}
